package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.WxRefund;

import java.util.*;
public class WxRefundExample extends SgExample<WxRefundExample.Criteria> {
    public static final Class<WxRefund> beanClass = WxRefund.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn msg;
    public static EntityColumn money;
    public static EntityColumn createTime;
    public static EntityColumn wxNo;
    public static EntityColumn tradeCode;
    public static EntityColumn wxRefundId;
    public static EntityColumn refundId;
    public static EntityColumn refundCode;
    public static EntityColumn status;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        msg = listMap.get("msg");
        money = listMap.get("money");
        createTime = listMap.get("createTime");
        wxNo = listMap.get("wxNo");
        tradeCode = listMap.get("tradeCode");
        wxRefundId = listMap.get("wxRefundId");
        refundId = listMap.get("refundId");
        refundCode = listMap.get("refundCode");
        status = listMap.get("status");
        }

    public WxRefundExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected WxRefundExample.Criteria createCriteriaInternal() {
        return new WxRefundExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public WxRefundExample.Criteria andMsgIsNull() {
            return isNull(msg);
        }

        public WxRefundExample.Criteria andMsgIsNotNull() {
            return isNotNull(msg);
        }

        public WxRefundExample.Criteria andMsgEqualTo(String value) {
            return equalTo(msg, value);
        }

        public WxRefundExample.Criteria andMsgNotEqualTo(String value) {
            return notEqualTo(msg, value);
        }

        public WxRefundExample.Criteria andMsgGreaterThan(String value) {
            return greaterThan(msg, value);
        }

        public WxRefundExample.Criteria andMsgGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(msg, value);
        }

        public WxRefundExample.Criteria andMsgLessThan(String value) {
            return lessThan(msg, value);
        }

        public WxRefundExample.Criteria andMsgLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(msg, value);
        }

        public WxRefundExample.Criteria andMsgLike(String value) {
            return like(msg, value);
        }

        public WxRefundExample.Criteria andMsgNotLike(String value) {
            return notLike(msg, value);
        }

        public WxRefundExample.Criteria andMsgIn(List<String> values) {
            return in(msg, values);
        }

        public WxRefundExample.Criteria andMsgNotIn(List<String> values) {
            return notIn(msg, values);
        }

        public WxRefundExample.Criteria andMsgBetween(String value1, String value2) {
            return between(msg, value1, value2);
        }

        public WxRefundExample.Criteria andMsgNotBetween(String value1, String value2) {
            return notBetween(msg, value1, value2);
        }
        public WxRefundExample.Criteria andMoneyIsNull() {
            return isNull(money);
        }

        public WxRefundExample.Criteria andMoneyIsNotNull() {
            return isNotNull(money);
        }

        public WxRefundExample.Criteria andMoneyEqualTo(String value) {
            return equalTo(money, value);
        }

        public WxRefundExample.Criteria andMoneyNotEqualTo(String value) {
            return notEqualTo(money, value);
        }

        public WxRefundExample.Criteria andMoneyGreaterThan(String value) {
            return greaterThan(money, value);
        }

        public WxRefundExample.Criteria andMoneyGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(money, value);
        }

        public WxRefundExample.Criteria andMoneyLessThan(String value) {
            return lessThan(money, value);
        }

        public WxRefundExample.Criteria andMoneyLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(money, value);
        }

        public WxRefundExample.Criteria andMoneyLike(String value) {
            return like(money, value);
        }

        public WxRefundExample.Criteria andMoneyNotLike(String value) {
            return notLike(money, value);
        }

        public WxRefundExample.Criteria andMoneyIn(List<String> values) {
            return in(money, values);
        }

        public WxRefundExample.Criteria andMoneyNotIn(List<String> values) {
            return notIn(money, values);
        }

        public WxRefundExample.Criteria andMoneyBetween(String value1, String value2) {
            return between(money, value1, value2);
        }

        public WxRefundExample.Criteria andMoneyNotBetween(String value1, String value2) {
            return notBetween(money, value1, value2);
        }
        public WxRefundExample.Criteria andCreateTimeIsNull() {
            return isNull(createTime);
        }

        public WxRefundExample.Criteria andCreateTimeIsNotNull() {
            return isNotNull(createTime);
        }

        public WxRefundExample.Criteria andCreateTimeEqualTo(Date value) {
            return equalTo(createTime, value);
        }

        public WxRefundExample.Criteria andCreateTimeNotEqualTo(Date value) {
            return notEqualTo(createTime, value);
        }

        public WxRefundExample.Criteria andCreateTimeGreaterThan(Date value) {
            return greaterThan(createTime, value);
        }

        public WxRefundExample.Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            return greaterThanOrEqualTo(createTime, value);
        }

        public WxRefundExample.Criteria andCreateTimeLessThan(Date value) {
            return lessThan(createTime, value);
        }

        public WxRefundExample.Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            return lessThanOrEqualTo(createTime, value);
        }

        public WxRefundExample.Criteria andCreateTimeIn(List<Date> values) {
            return in(createTime, values);
        }

        public WxRefundExample.Criteria andCreateTimeNotIn(List<Date> values) {
            return notIn(createTime, values);
        }

        public WxRefundExample.Criteria andCreateTimeBetween(Date value1, Date value2) {
            return between(createTime, value1, value2);
        }

        public WxRefundExample.Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            return notBetween(createTime, value1, value2);
        }
        public WxRefundExample.Criteria andWxNoIsNull() {
            return isNull(wxNo);
        }

        public WxRefundExample.Criteria andWxNoIsNotNull() {
            return isNotNull(wxNo);
        }

        public WxRefundExample.Criteria andWxNoEqualTo(String value) {
            return equalTo(wxNo, value);
        }

        public WxRefundExample.Criteria andWxNoNotEqualTo(String value) {
            return notEqualTo(wxNo, value);
        }

        public WxRefundExample.Criteria andWxNoGreaterThan(String value) {
            return greaterThan(wxNo, value);
        }

        public WxRefundExample.Criteria andWxNoGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(wxNo, value);
        }

        public WxRefundExample.Criteria andWxNoLessThan(String value) {
            return lessThan(wxNo, value);
        }

        public WxRefundExample.Criteria andWxNoLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(wxNo, value);
        }

        public WxRefundExample.Criteria andWxNoLike(String value) {
            return like(wxNo, value);
        }

        public WxRefundExample.Criteria andWxNoNotLike(String value) {
            return notLike(wxNo, value);
        }

        public WxRefundExample.Criteria andWxNoIn(List<String> values) {
            return in(wxNo, values);
        }

        public WxRefundExample.Criteria andWxNoNotIn(List<String> values) {
            return notIn(wxNo, values);
        }

        public WxRefundExample.Criteria andWxNoBetween(String value1, String value2) {
            return between(wxNo, value1, value2);
        }

        public WxRefundExample.Criteria andWxNoNotBetween(String value1, String value2) {
            return notBetween(wxNo, value1, value2);
        }
        public WxRefundExample.Criteria andTradeCodeIsNull() {
            return isNull(tradeCode);
        }

        public WxRefundExample.Criteria andTradeCodeIsNotNull() {
            return isNotNull(tradeCode);
        }

        public WxRefundExample.Criteria andTradeCodeEqualTo(String value) {
            return equalTo(tradeCode, value);
        }

        public WxRefundExample.Criteria andTradeCodeNotEqualTo(String value) {
            return notEqualTo(tradeCode, value);
        }

        public WxRefundExample.Criteria andTradeCodeGreaterThan(String value) {
            return greaterThan(tradeCode, value);
        }

        public WxRefundExample.Criteria andTradeCodeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(tradeCode, value);
        }

        public WxRefundExample.Criteria andTradeCodeLessThan(String value) {
            return lessThan(tradeCode, value);
        }

        public WxRefundExample.Criteria andTradeCodeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(tradeCode, value);
        }

        public WxRefundExample.Criteria andTradeCodeLike(String value) {
            return like(tradeCode, value);
        }

        public WxRefundExample.Criteria andTradeCodeNotLike(String value) {
            return notLike(tradeCode, value);
        }

        public WxRefundExample.Criteria andTradeCodeIn(List<String> values) {
            return in(tradeCode, values);
        }

        public WxRefundExample.Criteria andTradeCodeNotIn(List<String> values) {
            return notIn(tradeCode, values);
        }

        public WxRefundExample.Criteria andTradeCodeBetween(String value1, String value2) {
            return between(tradeCode, value1, value2);
        }

        public WxRefundExample.Criteria andTradeCodeNotBetween(String value1, String value2) {
            return notBetween(tradeCode, value1, value2);
        }
        public WxRefundExample.Criteria andWxRefundIdIsNull() {
            return isNull(wxRefundId);
        }

        public WxRefundExample.Criteria andWxRefundIdIsNotNull() {
            return isNotNull(wxRefundId);
        }

        public WxRefundExample.Criteria andWxRefundIdEqualTo(Long value) {
            return equalTo(wxRefundId, value);
        }

        public WxRefundExample.Criteria andWxRefundIdNotEqualTo(Long value) {
            return notEqualTo(wxRefundId, value);
        }

        public WxRefundExample.Criteria andWxRefundIdGreaterThan(Long value) {
            return greaterThan(wxRefundId, value);
        }

        public WxRefundExample.Criteria andWxRefundIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(wxRefundId, value);
        }

        public WxRefundExample.Criteria andWxRefundIdLessThan(Long value) {
            return lessThan(wxRefundId, value);
        }

        public WxRefundExample.Criteria andWxRefundIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(wxRefundId, value);
        }

        public WxRefundExample.Criteria andWxRefundIdIn(List<Long> values) {
            return in(wxRefundId, values);
        }

        public WxRefundExample.Criteria andWxRefundIdNotIn(List<Long> values) {
            return notIn(wxRefundId, values);
        }

        public WxRefundExample.Criteria andWxRefundIdBetween(Long value1, Long value2) {
            return between(wxRefundId, value1, value2);
        }

        public WxRefundExample.Criteria andWxRefundIdNotBetween(Long value1, Long value2) {
            return notBetween(wxRefundId, value1, value2);
        }
        public WxRefundExample.Criteria andRefundIdIsNull() {
            return isNull(refundId);
        }

        public WxRefundExample.Criteria andRefundIdIsNotNull() {
            return isNotNull(refundId);
        }

        public WxRefundExample.Criteria andRefundIdEqualTo(String value) {
            return equalTo(refundId, value);
        }

        public WxRefundExample.Criteria andRefundIdNotEqualTo(String value) {
            return notEqualTo(refundId, value);
        }

        public WxRefundExample.Criteria andRefundIdGreaterThan(String value) {
            return greaterThan(refundId, value);
        }

        public WxRefundExample.Criteria andRefundIdGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(refundId, value);
        }

        public WxRefundExample.Criteria andRefundIdLessThan(String value) {
            return lessThan(refundId, value);
        }

        public WxRefundExample.Criteria andRefundIdLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(refundId, value);
        }

        public WxRefundExample.Criteria andRefundIdLike(String value) {
            return like(refundId, value);
        }

        public WxRefundExample.Criteria andRefundIdNotLike(String value) {
            return notLike(refundId, value);
        }

        public WxRefundExample.Criteria andRefundIdIn(List<String> values) {
            return in(refundId, values);
        }

        public WxRefundExample.Criteria andRefundIdNotIn(List<String> values) {
            return notIn(refundId, values);
        }

        public WxRefundExample.Criteria andRefundIdBetween(String value1, String value2) {
            return between(refundId, value1, value2);
        }

        public WxRefundExample.Criteria andRefundIdNotBetween(String value1, String value2) {
            return notBetween(refundId, value1, value2);
        }
        public WxRefundExample.Criteria andRefundCodeIsNull() {
            return isNull(refundCode);
        }

        public WxRefundExample.Criteria andRefundCodeIsNotNull() {
            return isNotNull(refundCode);
        }

        public WxRefundExample.Criteria andRefundCodeEqualTo(String value) {
            return equalTo(refundCode, value);
        }

        public WxRefundExample.Criteria andRefundCodeNotEqualTo(String value) {
            return notEqualTo(refundCode, value);
        }

        public WxRefundExample.Criteria andRefundCodeGreaterThan(String value) {
            return greaterThan(refundCode, value);
        }

        public WxRefundExample.Criteria andRefundCodeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(refundCode, value);
        }

        public WxRefundExample.Criteria andRefundCodeLessThan(String value) {
            return lessThan(refundCode, value);
        }

        public WxRefundExample.Criteria andRefundCodeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(refundCode, value);
        }

        public WxRefundExample.Criteria andRefundCodeLike(String value) {
            return like(refundCode, value);
        }

        public WxRefundExample.Criteria andRefundCodeNotLike(String value) {
            return notLike(refundCode, value);
        }

        public WxRefundExample.Criteria andRefundCodeIn(List<String> values) {
            return in(refundCode, values);
        }

        public WxRefundExample.Criteria andRefundCodeNotIn(List<String> values) {
            return notIn(refundCode, values);
        }

        public WxRefundExample.Criteria andRefundCodeBetween(String value1, String value2) {
            return between(refundCode, value1, value2);
        }

        public WxRefundExample.Criteria andRefundCodeNotBetween(String value1, String value2) {
            return notBetween(refundCode, value1, value2);
        }
        public WxRefundExample.Criteria andStatusIsNull() {
            return isNull(status);
        }

        public WxRefundExample.Criteria andStatusIsNotNull() {
            return isNotNull(status);
        }

        public WxRefundExample.Criteria andStatusEqualTo(Boolean value) {
            return equalTo(status, value);
        }

        public WxRefundExample.Criteria andStatusNotEqualTo(Boolean value) {
            return notEqualTo(status, value);
        }

        public WxRefundExample.Criteria andStatusGreaterThan(Boolean value) {
            return greaterThan(status, value);
        }

        public WxRefundExample.Criteria andStatusGreaterThanOrEqualTo(Boolean value) {
            return greaterThanOrEqualTo(status, value);
        }

        public WxRefundExample.Criteria andStatusLessThan(Boolean value) {
            return lessThan(status, value);
        }

        public WxRefundExample.Criteria andStatusLessThanOrEqualTo(Boolean value) {
            return lessThanOrEqualTo(status, value);
        }

        public WxRefundExample.Criteria andStatusIn(List<Boolean> values) {
            return in(status, values);
        }

        public WxRefundExample.Criteria andStatusNotIn(List<Boolean> values) {
            return notIn(status, values);
        }

        public WxRefundExample.Criteria andStatusBetween(Boolean value1, Boolean value2) {
            return between(status, value1, value2);
        }

        public WxRefundExample.Criteria andStatusNotBetween(Boolean value1, Boolean value2) {
            return notBetween(status, value1, value2);
        }
    }
}